//
//  TTScrollView.m
//  TeacherNet
//
//  Created by slz on 2017/11/20.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#import "TTScrollView.h"

@implementation TTScrollView

- (instancetype)init
{
    self = [super init];
    if (self){
        if (kIOS11AVAILABLE)
        self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    }
    return self;
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self){
        if (kIOS11AVAILABLE)
            self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    }
    return self;
}

- (void)awakeFromNib
{
    [super awakeFromNib];
    if (kIOS11AVAILABLE)
        self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}


@end
